<jsp:directive.include file="/jsp/includes/taglibs.jsp" />

<form:form commandName="systemEmailCommand">
	
	<fieldset>
		<legend><spring:message code="system.email.legend"/></legend>

	 		<label for="emailSMTPServer" title="<spring:message code="system.emailSMTPServer.descr"/>">
	 			<spring:message code="system.emailSMTPServer.name"/>
	 			</label> 
	 		<form:input path="emailSMTPServer"/> <form:errors path="emailSMTPServer" cssClass="error"/>
	  		<br/><br/>
	  		
	  		<label for="emailSMTPPort" title="<spring:message code="system.emailSMTPPort.descr"/>">
	 			<spring:message code="system.emailSMTPPort.name"/>
	 			</label> 
	 		<form:input path="emailSMTPPort"/> <form:errors path="emailSMTPPort" cssClass="error"/>
	  		<br/><br/>

	 		<label for="emailAddress" title="<spring:message code="system.emailAddress.descr"/>">
	 			<spring:message code="system.emailAddress.name"/>
	 			</label> 
	 		<form:input path="emailAddress"/> <form:errors path="emailAddress" cssClass="error"/>
	  		<br/><br/>

	 		<label for="emailUser" title="<spring:message code="system.emailUser.descr"/>">
	 			<spring:message code="system.emailUser.name"/>
	 			</label> 
	 		<form:input path="emailUser"/> <form:errors path="emailUser" cssClass="error"/>
	  		<br/><br/>	
	  		
	 		<label for="emailPassword" title="<spring:message code="system.emailPassword.descr"/>">
	 			<spring:message code="system.emailPassword.name"/>
	 			</label> 
	 		<form:password path="emailPassword"/> <form:errors path="emailPassword" cssClass="error"/>
	  		<br/><br/>
  			  			 		
	 		<label for="emailUseTLS" title="<spring:message code="system.emailUseTLS.descr"/>">
	 			<spring:message code="system.emailUseTLS.name"/>
	 			</label> 
	 		<form:checkbox path="emailUseTLS"/> <form:errors path="emailUseTLS" cssClass="error"/>
	  		<br/><br/>
	  			  			 		
	 		<label for="emailUseSSL" title="<spring:message code="system.emailUseSSL.descr"/>">
	 			<spring:message code="system.emailUseSSL.name"/>
	 			</label> 
	 		<form:checkbox path="emailUseSSL"/> <form:errors path="emailUseSSL" cssClass="error"/>
	  		<br/><br/>
	
	</fieldset>
	<br/>
	<input type="submit" value="<spring:message code="system.submit"/>"/>
	
</form:form>
